package shujujiegou.Duigui;
/*实现逆序输出*/
public class ReversePrint {
    public static void main(String[] args) {
        f("asdasdasd",0);
    }
    public static void f(String str,int n) {
        if (n==str.length()){
            return;
        }
        f(str,1+n);
        System.out.println(str.charAt(n));
    }
}
